package entity;

public class Admin {
    private int id;
    private String aname;
    private String apwd;
    private String aphone;
    private String aemail;
    private String aRegTime;

    public Admin(int id, String aname, String apwd, String aphone, String aemail, String aRegTime, String identity) {
        this.id = id;
        this.aname = aname;
        this.apwd = apwd;
        this.aphone = aphone;
        this.aemail = aemail;
        this.aRegTime = aRegTime;
        this.identity = identity;
    }

    public String getaRegTime() {
        return aRegTime;
    }

    public void setaRegTime(String aRegTime) {
        this.aRegTime = aRegTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Admin(String aname, String apwd, String aphone, String aemail, String identity) {
        this.aname = aname;
        this.apwd = apwd;
        this.aphone = aphone;
        this.aemail = aemail;
        this.identity = identity;
    }

    public String getAphone() {
        return aphone;
    }

    public void setAphone(String aphone) {
        this.aphone = aphone;
    }

    public String getAemail() {
        return aemail;
    }

    public void setAemail(String aemail) {
        this.aemail = aemail;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    private String identity;

    public Admin(String aname, String apwd, String identity) {
        this.aname = aname;
        this.apwd = apwd;
        this.identity = identity;
    }

    public Admin() {
    }

    public Admin(String aname, String apwd) {
        this.aname = aname;
        this.apwd = apwd;
    }

    public String getAname() {
        return aname;
    }

    public void setAname(String aname) {
        this.aname = aname;
    }

    public String getApwd() {
        return apwd;
    }

    public void setApwd(String apwd) {
        this.apwd = apwd;
    }
}
